#delimit ;set memory 100m;clear;use "/Users/ericksjj/Desktop/Erickson-ISP-Leadership-Data.dta";

log using Erickson-ISP-Leadership-Results-test1.out, replace text;

/* Please note that the article only covers the moving windows results for the post-Cold War years, but the full build-up is provided here for those interested. Whether the pre-1990 windows are run or not does not change the results for 1990-2010. For those who are not interested, excluding the extra logit models especially will reduce the run time for the file. */


/* UK small arms and human rights (top of Figure 2) */
/* xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&year==1982, i(dyadid);xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==1982)|(year==1983), i(dyadid);xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==1982)|(year==1983)|(year==1984), i(dyadid);xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==1982)|(year==1983)|(year==1984)|(year==1985), i(dyadid);xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==1982)|(year==1983)|(year==1984)|(year==1985)|(year==1986), i(dyadid);xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==1983)|(year==1984)|(year==1985)|(year==1986)|(year==1987), i(dyadid);xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==1984)|(year==1985)|(year==1986)|(year==1987)|(year==1988), i(dyadid);xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==1985)|(year==1986)|(year==1987)|(year==1988)|(year==1989), i(dyadid); */ xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==1986)|(year==1987)|(year==1988)|(year==1989)|(year==1990), i(dyadid);xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==1987)|(year==1988)|(year==1989)|(year==1990)|(year==1991), i(dyadid);xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==1988)|(year==1989)|(year==1990)|(year==1991)|(year==1992), i(dyadid);xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==1989)|(year==1990)|(year==1991)|(year==1992)|(year==1993), i(dyadid);xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==1990)|(year==1991)|(year==1992)|(year==1993)|(year==1994), i(dyadid);xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==1991)|(year==1992)|(year==1993)|(year==1994)|(year==1995), i(dyadid);xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==1992)|(year==1993)|(year==1994)|(year==1995)|(year==1996), i(dyadid);xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==1993)|(year==1994)|(year==1995)|(year==1996)|(year==1997), i(dyadid);xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==1994)|(year==1995)|(year==1996)|(year==1997)|(year==1998), i(dyadid);xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==1995)|(year==1996)|(year==1997)|(year==1998)|(year==1999), i(dyadid);xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==1996)|(year==1997)|(year==1998)|(year==1999)|(year==2000), i(dyadid);xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==1997)|(year==1998)|(year==1999)|(year==2000)|(year==2001), i(dyadid);xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==1998)|(year==1999)|(year==2000)|(year==2001)|(year==2002), i(dyadid);xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==1999)|(year==2000)|(year==2001)|(year==2002)|(year==2003), i(dyadid);xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==2000)|(year==2001)|(year==2002)|(year==2003)|(year==2004), i(dyadid);
xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==2001)|(year==2002)|(year==2003)|(year==2004)|(year==2005), i(dyadid);
xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==2002)|(year==2003)|(year==2004)|(year==2005)|(year==2006), i(dyadid);xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==2003)|(year==2004)|(year==2005)|(year==2006)|(year==2007), i(dyadid);xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==2004)|(year==2005)|(year==2006)|(year==2007)|(year==2008), i(dyadid);xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==2005)|(year==2006)|(year==2007)|(year==2008)|(year==2009), i(dyadid);xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==2006)|(year==2007)|(year==2008)|(year==2009)|(year==2010), i(dyadid);

/* Germany small arms and human rights (top of Figure 3) */

/* xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&year==1982, i(dyadid);xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==1982)|(year==1983), i(dyadid);xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==1982)|(year==1983)|(year==1984), i(dyadid);xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==1982)|(year==1983)|(year==1984)|(year==1985), i(dyadid);xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==1982)|(year==1983)|(year==1984)|(year==1985)|(year==1986), i(dyadid);xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==1983)|(year==1984)|(year==1985)|(year==1986)|(year==1987), i(dyadid);xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==1984)|(year==1985)|(year==1986)|(year==1987)|(year==1988), i(dyadid);xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==1985)|(year==1986)|(year==1987)|(year==1988)|(year==1989), i(dyadid); */xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==1986)|(year==1987)|(year==1988)|(year==1989)|(year==1990), i(dyadid);xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==1987)|(year==1988)|(year==1989)|(year==1990)|(year==1991), i(dyadid);xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==1988)|(year==1989)|(year==1990)|(year==1991)|(year==1992), i(dyadid);xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==1989)|(year==1990)|(year==1991)|(year==1992)|(year==1993), i(dyadid);xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==1990)|(year==1991)|(year==1992)|(year==1993)|(year==1994), i(dyadid);xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==1991)|(year==1992)|(year==1993)|(year==1994)|(year==1995), i(dyadid);xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==1992)|(year==1993)|(year==1994)|(year==1995)|(year==1996), i(dyadid);xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==1993)|(year==1994)|(year==1995)|(year==1996)|(year==1997), i(dyadid);xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==1994)|(year==1995)|(year==1996)|(year==1997)|(year==1998), i(dyadid);xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==1995)|(year==1996)|(year==1997)|(year==1998)|(year==1999), i(dyadid);xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==1996)|(year==1997)|(year==1998)|(year==1999)|(year==2000), i(dyadid);xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==1997)|(year==1998)|(year==1999)|(year==2000)|(year==2001), i(dyadid);xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==1998)|(year==1999)|(year==2000)|(year==2001)|(year==2002), i(dyadid);xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==1999)|(year==2000)|(year==2001)|(year==2002)|(year==2003), i(dyadid);xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==2000)|(year==2001)|(year==2002)|(year==2003)|(year==2004), i(dyadid);
xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==2001)|(year==2002)|(year==2003)|(year==2004)|(year==2005), i(dyadid);
xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==2002)|(year==2003)|(year==2004)|(year==2005)|(year==2006), i(dyadid);xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==2003)|(year==2004)|(year==2005)|(year==2006)|(year==2007), i(dyadid);xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==2004)|(year==2005)|(year==2006)|(year==2007)|(year==2008), i(dyadid);xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==2005)|(year==2006)|(year==2007)|(year==2008)|(year==2009), i(dyadid);xtlogit satransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==2006)|(year==2007)|(year==2008)|(year==2009)|(year==2010), i(dyadid); 


tsset dyadid year;

/* British MCW and human rights (bottom of Figure 2) */

/* xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&year==1982, hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==1982)|(year==1983), hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==1982)|(year==1983)|(year==1984), hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==1982)|(year==1983)|(year==1984)|(year==1985), hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==1982)|(year==1983)|(year==1984)|(year==1985)|(year==1986), hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==1983)|(year==1984)|(year==1985)|(year==1986)|(year==1987), hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==1984)|(year==1985)|(year==1986)|(year==1987)|(year==1988), hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==1985)|(year==1986)|(year==1987)|(year==1988)|(year==1989), hetonly; */xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==1986)|(year==1987)|(year==1988)|(year==1989)|(year==1990), hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==1987)|(year==1988)|(year==1989)|(year==1990)|(year==1991), hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==1988)|(year==1989)|(year==1990)|(year==1991)|(year==1992), hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==1989)|(year==1990)|(year==1991)|(year==1992)|(year==1993), hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==1990)|(year==1991)|(year==1992)|(year==1993)|(year==1994), hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==1991)|(year==1992)|(year==1993)|(year==1994)|(year==1995), hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==1992)|(year==1993)|(year==1994)|(year==1995)|(year==1996), hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==1993)|(year==1994)|(year==1995)|(year==1996)|(year==1997), hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==1994)|(year==1995)|(year==1996)|(year==1997)|(year==1998), hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==1995)|(year==1996)|(year==1997)|(year==1998)|(year==1999), hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==1996)|(year==1997)|(year==1998)|(year==1999)|(year==2000), hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==1997)|(year==1998)|(year==1999)|(year==2000)|(year==2001), hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==1998)|(year==1999)|(year==2000)|(year==2001)|(year==2002), hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==1999)|(year==2000)|(year==2001)|(year==2002)|(year==2003), hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==2000)|(year==2001)|(year==2002)|(year==2003)|(year==2004), hetonly;
xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==2001)|(year==2002)|(year==2003)|(year==2004)|(year==2005), hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==2002)|(year==2003)|(year==2004)|(year==2005)|(year==2006), hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==2003)|(year==2004)|(year==2005)|(year==2006)|(year==2007), hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==2004)|(year==2005)|(year==2006)|(year==2007)|(year==2008), hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==2005)|(year==2006)|(year==2007)|(year==2008)|(year==2009), hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==200&(year==2006)|(year==2007)|(year==2008)|(year==2009)|(year==2010), hetonly;


/* German MCW and human rights (bottom of Figure 2) */

/* xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&year==1982, hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==1982)|(year==1983), hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==1982)|(year==1983)|(year==1984), hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==1982)|(year==1983)|(year==1984)|(year==1985), hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==1982)|(year==1983)|(year==1984)|(year==1985)|(year==1986), hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==1983)|(year==1984)|(year==1985)|(year==1986)|(year==1987), hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==1984)|(year==1985)|(year==1986)|(year==1987)|(year==1988), hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==1985)|(year==1986)|(year==1987)|(year==1988)|(year==1989), hetonly; */xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==1986)|(year==1987)|(year==1988)|(year==1989)|(year==1990), hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==1987)|(year==1988)|(year==1989)|(year==1990)|(year==1991), hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==1988)|(year==1989)|(year==1990)|(year==1991)|(year==1992), hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==1989)|(year==1990)|(year==1991)|(year==1992)|(year==1993), hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==1990)|(year==1991)|(year==1992)|(year==1993)|(year==1994), hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==1991)|(year==1992)|(year==1993)|(year==1994)|(year==1995), hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==1992)|(year==1993)|(year==1994)|(year==1995)|(year==1996), hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==1993)|(year==1994)|(year==1995)|(year==1996)|(year==1997), hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==1994)|(year==1995)|(year==1996)|(year==1997)|(year==1998), hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==1995)|(year==1996)|(year==1997)|(year==1998)|(year==1999), hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==1996)|(year==1997)|(year==1998)|(year==1999)|(year==2000), hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==1997)|(year==1998)|(year==1999)|(year==2000)|(year==2001), hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==1998)|(year==1999)|(year==2000)|(year==2001)|(year==2002), hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==1999)|(year==2000)|(year==2001)|(year==2002)|(year==2003), hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==2000)|(year==2001)|(year==2002)|(year==2003)|(year==2004), hetonly;
xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==2001)|(year==2002)|(year==2003)|(year==2004)|(year==2005), hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==2002)|(year==2003)|(year==2004)|(year==2005)|(year==2006), hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==2003)|(year==2004)|(year==2005)|(year==2006)|(year==2007), hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==2004)|(year==2005)|(year==2006)|(year==2007)|(year==2008), hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==2005)|(year==2006)|(year==2007)|(year==2008)|(year==2009), hetonly;xtpcse mctransfer ungdpcaploglag polity2lag ct3lowlag ct3highlag oilprodlag  dos_avghrlag dos_badhrlag  y1981 y1982 y1983 y1984 y1985 y1986 y1987 y1988 y1989 y1990 y1991 y1992 y1993 y1994 y1995 y1996 y1997 y1998 y1999 y2000 y2001 y2002 y2003 y2004 y2005 y2006 y2007 y2008 y2009 y2010 if cowcc==255&(year==2006)|(year==2007)|(year==2008)|(year==2009)|(year==2010), hetonly;

log close;
